import { handleActions as createReducer } from "redux-actions";
import { saveProduct } from "../actions/product.action";
const initialState = []
export default createReducer({
    [saveProduct]: (state, action) => action.payload
}, initialState)